module MassiveClassRoom
  class Quest
    def initialize(name = "My Name", description = "My Description",
                   text = "My quest text", group = 1, xp = 0, 
                   rewards = ["My list of rewards"])
      @name = name
      @description = description
      @text = text
      @group = group
      @xp = xp
      @rewards = rewards
      yield( self ) if block_given?
    end

    attr_accessor :name, :description, :text, :group, :xp, :rewards
  end
end
